Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix #9437(fix re.replace wrong behaviour) #17546

Merged
merged 5 commits into from
Jun 10, 2021
Merged

fix #9437(fix re.replace wrong behaviour) #17546

merged 5 commits into from
Jun 10, 2021

Conversation

ringabout
Copy link
Member

@ringabout ringabout commented Mar 28, 2021

fix #9437

follow up:
- [x] fix the terrible function declaration

lib/impure/re.nim Outdated Show resolved Hide resolved
@dom96
Copy link
Contributor

dom96 commented Mar 28, 2021

#17547 (comment) :)

@ringabout ringabout changed the title fix #9437 fix #9437(fix re.replace wrong behaviour) Mar 28, 2021
@ringabout ringabout marked this pull request as draft March 29, 2021 05:17
@ringabout ringabout marked this pull request as ready for review March 31, 2021 13:10
@ringabout ringabout added the TODO: followup needed remove tag once fixed or tracked elsewhere label Mar 31, 2021
@ringabout ringabout requested a review from timotheecour April 1, 2021 14:05
@kaushalmodi
Copy link
Contributor

It's passing all the tests, so it's good to merge?

@ringabout
Copy link
Member Author

It needs some reviews I think.

@Araq Araq merged commit 6b97889 into nim-lang:devel Jun 10, 2021
@ringabout ringabout removed the TODO: followup needed remove tag once fixed or tracked elsewhere label Jun 29, 2021
PMunch pushed a commit to PMunch/Nim that referenced this pull request Mar 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

re.replace("foo", re"", "-") returns -foo, inconsistent with nre.replace
5 participants